package com.wcx.application.service.Impl;

import com.wcx.application.domian.BossBean;
import com.wcx.application.domian.ResumeBean;
import com.wcx.application.mapper.BossMapper;
import com.wcx.application.mapper.ResumeMapper;
import com.wcx.application.service.BossService;
import com.wcx.application.service.ResumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ResumeServiceImpl implements ResumeService {
    @Autowired
    ResumeMapper resumeMapper;

    @Override
    public List<ResumeBean> getList() {
        return resumeMapper.getList();
    }

    @Override
    public int update(ResumeBean resumeBean) {
        return resumeMapper.update(resumeBean);
    }

    @Override
    public int delete(int id) {
        return resumeMapper.delete(id);
    }


    @Override
    public int create(ResumeBean resumeBean) {
        return resumeMapper.create(resumeBean);
    }

    @Override
    public List<ResumeBean> searchList(ResumeBean resumeBean) {
        return resumeMapper.searchList(resumeBean);
    }



}
